import { Canvas, Rect, Line } from './fabric.js'

function drawBg(id, val) {
  return Canvas(id, val)
}

function drawRect(val) {
  return Rect(val)
}
// [终止位置，线长，起始位置，top]
function drawLine(arr, val) {
  return Line(arr, val)
}

export { drawBg, drawLine, drawRect }
